
def user = session.user
if(user != null) {
	session.removeAttribute('user')
}
session.invalidate()

redirect "login.groovy?infoMessage=Successfully logged out...";
